/*
 * @Descripttion: 
 * @Author: liuYaoYu
 * @Date: 2021-12-17 16:03:42
 * @LastEditors: liuYaoYu
 * @LastEditTime: 2021-12-17 16:34:44
 */
package main
import (
	"fmt"
)
func fbn(n int) ([]uint64){
	fbnslice :=make([]uint64,n)
	fbnslice[0]=1
	fbnslice[1]=1
	for i:=2;i<n;i++{
		fbnslice[i]=fbnslice[i-1]+fbnslice[i-2]
	}
	return fbnslice
}

func main(){
	 slice1 := fbn(10)
	 fmt.Println(slice1)
}